﻿using System.Runtime.Serialization;

namespace Ping.Core
{
	[DataContract]
	public abstract class Result
		: Data
	{
	}

	/// <summary>
	/// This object can be returned in case something went wrong...
	/// </summary>
	[DataContract]
	public sealed class Error
		: Result
	{
		[DataMember] public string Message;
		[DataMember] public string Title;
	}
}